import Vue from 'vue'
import {
    Button, Form, FormItem, Input, Checkbox, Menu, MenuItem, Submenu,
    Carousel, CarouselItem, Tabs, TabPane, Message, Pagination, Backtop,
    Select, Option, Col, DatePicker, TimePicker, Switch, CheckboxGroup, Radio,
    RadioGroup, Transfer, Table, TableColumn, Drawer, MessageBox,PageHeader,Upload
} from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Checkbox)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Pagination)
Vue.use(Backtop)
Vue.use(Select)
Vue.use(Option)
Vue.use(Col)
Vue.use(DatePicker)
Vue.use(TimePicker)
Vue.use(Switch)
Vue.use(CheckboxGroup)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Transfer)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Drawer)
Vue.use(PageHeader)
Vue.use(Upload)
Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$confirm = MessageBox.confirm;